package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Wxy
 * @data 2022/04/27
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "生产订单")
public class OrderEntity {
    private int id;
    @ApiModelProperty(value = "订单编码")
    private String order_num;
    @ApiModelProperty(value = "订单优先级")
    private String order_priority;
    @ApiModelProperty(value = "订单状态")
    private int order_status;
    @ApiModelProperty(value = "订单进度")
    private String order_progress;
    @ApiModelProperty(value = "订单类型")
    private String order_type;
    @ApiModelProperty(value = "订单性质")
    private String order_nature;
    @ApiModelProperty(value = "订单客户")
    private String order_client;
    @ApiModelProperty(value = "合同编号")
    private String order_contract;
    @ApiModelProperty(value = "产品编码")
    private String material_code;
    @ApiModelProperty(value = "产品名称")
    private String product_name;
    @ApiModelProperty(value = "产品类型")
    private String product_type;
    @ApiModelProperty(value = "订单数量")
    private int order_account;
    @ApiModelProperty(value = "总金额")
    private BigDecimal total_money;
    @ApiModelProperty(value = "完成数量")
    private int finish_account;
    @ApiModelProperty(value = "交货时间")
    private Date delivery_date;
    @ApiModelProperty(value = "计划开始时间")
    private Date start_time;
    @ApiModelProperty(value = "计划完成时间")
    private Date finish_time;
    @ApiModelProperty(value = "总价")
    private BigDecimal sum;
    private String create_user;
    private Date create_time;
    private int create_userid;
    private Date last_modifined_time;
    private int last_modifined_userid;
    private int isDelete;

}
